<?php
	if (!isset($_GET['gateway'])) $gateway=NULL; else $gateway=$_GET['gateway'];
	if ($gateway==NULL) if (!isset($_POST['gateway'])) $gateway=NULL; else $gateway=$_POST['gateway'];

	if ($gateway != NULL){
		$file = $setupdata['core_dir']."/modules/payment/gateway/".$gateway.".php";
		if (file_exists($file)) {
			include $file;
		} else $err->AddError(24, "payment");
	}
?>